home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / dvdevl10.zip / DVEOP.API < prev    next >
Text File  |  1991-08-11  |  1KB  |  38 lines

  1. DVeop    (c) Copyright 1991 Ralf Brown
  2.  
  3. DVeop is a support program for DVdevload and any other XDI drivers run inside
  4. DESQview windows which require notification on process termination.
  5.  
  6. ------------------------------------------------------------------------
  7.  
  8. DVeop API:
  9.      XDI function 01h (driver custom function) on INT 2Fh
  10.      Call with: AH = XDI multiplex number (usually DEh)
  11.         AL = 01h
  12.         BX = 5242h ("RB", indicates a program by Ralf Brown)
  13.         CX = 656Fh ("eo")  \
  14.         DX = 7000h ("p",0) / identifies DVeop
  15.      Returns:    AX = 5242h ("RB") if installed
  16.         ES:BX -> DVeop entry point
  17.         CX = version (CH = major, CL = minor)
  18.  
  19.      DVeop entry point
  20.      Call with: ES:DI -> FAR function to be called when window closes
  21.             or 0000h:0000h to remove callback
  22.      Return:    AX = status
  23.             0000h failed (callback table full or attempted to
  24.                   remove nonexistent callback)
  25.             0001h successful
  26.               ES:DI -> previous callback function
  27.         BX,CX,DX destroyed
  28.      Note:    If the previous callback function is not 0000h:0000h,
  29.         the new callback function must chain to the previous
  30.         function.
  31.  
  32.      The callback function is called with a simulated interrupt call
  33.      with BX and DX as on entry to XDI function 05h (process
  34.      termination), and must preserve all registers.  It should perform
  35.      a far jump to the previous callback function after performing its
  36.      processing, or an IRET if the previous callback address is
  37.      0000h:0000h.
  38.